<%--
  Created by IntelliJ IDEA.
  User: DZL
  Date: 2022/11/25
  Time: 19:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- 引入jstl标签--%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--
    c:if 来完成逻辑判断的：替换 java if else
--%>
<%--<c:if test="true">
    <h1>true</h1>
</c:if>
<c:if test="false">
    <h1>false</h1>
</c:if>--%>

<c:if test="${status == 1}">
    <h1>启用</h1>
</c:if>

<c:if test="${status == 0}">
    <h1>禁用</h1>
</c:if>

</body>
</html>
